package dev.ideas.funkyj.support;

/**
 */
public abstract class Stuff {

    public static String join(final String str, Object... objects) {
        StringBuilder sb = new StringBuilder();

        if (objects.length > 0) {
            for (int i = 0; i < objects.length - 1; i++) {
                sb.append(objects[i]).append(str);
            }
            sb.append(objects.length - 1);
        }

        return sb.toString();
    }

}
